package plataforma.spring;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;


@Target(value=ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Repository
@Scope("singleton")
@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class)
public @interface DaoDefault {

}
